package com.example.demo.service;

import com.example.demo.model.User;
import java.util.List;

public interface UserService {
    List<User> findAllUsers();
    User findUserById(Long id);
    User saveUser(User user);
    void deleteUser(Long id);
    List<User> findUsersByName(String name);
    boolean isEmailExists(String email, Long excludeId);
} 